home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP Şubat 1998.iso / drivers / SESK / tumspinn / CLEANUP.BAT < prev    next >
DOS Batch File  |  1997-06-12  |  5KB  |  135 lines

  1. @echo off
  2. echo.
  3. echo ╔════════════════════════════════════════════════════════╗
  4. echo ║ Multisound Pinnacle/Fiji Old Drivers Cleanup Procedure ║
  5. echo ╚════════════════════════════════════════════════════════╝
  6. echo.
  7. echo Welcome to our Pinnacle/Fiji uninstall utility.  This will help you to remove
  8. echo old Pinnacle/Fiji drivers and other traces from your system and prepare you 
  9. echo to update your system to the latest drivers on this disk.  This uninstall
  10. echo process runs in three phases and requires some user assistance, but don't
  11. echo worry, we'll take it one step at a time and make it as easy as possible.
  12. echo.
  13. echo First we may need to remove some files in your \windows\inf directory.  If
  14. echo you installed an older version of the Pinnacle/Fiji drivers there may be one 
  15. echo or more files that contain device information about the Pinnacle/Fiji cards
  16. echo that is no longer valid.  We will now go through these files and see if they
  17. echo contain references to our cards.  If so, you will be asked to remove that
  18. echo particular file and you should answer "yes" by hitting the "Y" key.
  19. echo.
  20. choice Would you like to proceed with that 
  21. if errorlevel 2 goto :helpout
  22. echo.
  23. echo Ok, then let's begin...
  24. echo.
  25. for %%t in (%windir%\INF\OEM*.INF)    do call clnutils.bat /f pindsp95.drv %%t
  26. for %%t in (%windir%\INF\OTHER\*.INF) do call clnutils.bat /f pindsp95.drv %%t
  27. echo.
  28. echo Now that that's done, let's move on to phase 2.  We will open the Windows 
  29. echo 95 Device Manager for you, and you will need to manually remove all TBS Pro 
  30. echo Series devices (that includes Pinnacle and Fiji) from the device list.
  31. echo.
  32. echo To do this, just click the little plus sign to the left of "Sound, video and 
  33. echo game controllers" to expand that section.  Then click on the first device 
  34. echo that refers to a TBS Pro Series card and click the Remove button underneath.  
  35. echo Answer yes to all questions and keep doing this until all TBS Pro Series 
  36. echo devices have been removed.  Usually there is just one or two of them, but if 
  37. echo you have multiple cards or installed the card more than once there may be 
  38. echo multiple entries.  When you're done with that click OK to close the Device 
  39. echo Manager.
  40. echo.
  41. echo Note: You may need to scroll down in the Device Manager to
  42. echo       find the 'Sound, video and game controllers' section.
  43. echo.
  44. choice Would you like to proceed with that 
  45. if errorlevel 2 goto :helpout
  46. echo.
  47. echo Good, here you go...
  48. control.exe sysdm.cpl,system,1
  49. echo.
  50. pause
  51. echo Great.  Now all that's left is to remove some of the old driver files from 
  52. echo your system, but we'll take care of that for you.  Just in case, we'll run 
  53. echo everything by you, but we strongly recommend that you answer "yes" to all 
  54. echo questions by hitting the "Y" key.
  55. rem echo.
  56. if exist %windir%\SYSTEM\PINDSP.VXD   del /P %windir%\SYSTEM\PINDSP.VXD
  57. if exist %windir%\SYSTEM\PINDSP95.DRV del /P %windir%\SYSTEM\PINDSP95.DRV
  58. if exist %windir%\SYSTEM\PINKZ95.DRV  del /P %windir%\SYSTEM\PINKZ95.DRV
  59. echo.
  60. pause
  61. echo Finally, we will ask you to remove folders and program groups that pertain to
  62. echo the Pinnacle/Fiji cards.  It is necessary to remove these old folders to make
  63. echo sure that all files are updated correctly.  In case you saved some of your
  64. echo personal files into one of these directories you should move them to a 
  65. echo secure location and then proceed with the removal of that folder.
  66.  
  67. clnutils /b
  68. if not exist %temp%\pinbase.bat goto :0
  69. call %temp%\pinbase.bat
  70. del %temp%\pinbase.bat
  71. call clnutils.bat /d
  72.  
  73. :0
  74. set pinbase=C:\PINNACLE
  75. call clnutils.bat /d
  76.  
  77. set pinbase=C:\FIJI
  78. call clnutils.bat /d
  79.  
  80. set pinbase=C:\TBSPROS
  81. call clnutils.bat /d
  82.  
  83. set pinbase=C:\TBEACH
  84. call clnutils.bat /d
  85.  
  86. set pinbase=C:\TBAPPS
  87. call clnutils.bat /d
  88.  
  89. clnutils /g
  90. if not exist %temp%\pingroup.bat goto :1
  91. call %temp%\pingroup.bat
  92. del %temp%\pingroup.bat
  93. call clnutils.bat /g
  94.  
  95. :1
  96. set pingroup=Multisound Pinnacle
  97. call clnutils.bat /g
  98.  
  99. set pingroup=Multisound Fiji
  100. call clnutils.bat /g
  101.  
  102. set pingroup=Pinnacle Applications
  103. call clnutils.bat /g
  104.  
  105. set pingroup=Fiji Applications
  106. call clnutils.bat /g
  107.  
  108. set pingroup=Pinnacle Apps
  109. call clnutils.bat /g
  110.  
  111. set pingroup=Fiji Apps
  112. call clnutils.bat /g
  113.  
  114. set pingroup=TBS Pro Audio
  115. call clnutils.bat /g
  116.  
  117. set pingroup=Turtle Beach Pro Audio
  118. call clnutils.bat /g
  119.  
  120. echo Congratulations.  You have successfully removed your previous Pinnacle/Fiji 
  121. echo installation.  Now, if your TBS Pro Series card is in PnP mode all you have to 
  122. echo do is restart your system and when Windows asks, point it to the location of 
  123. echo the new drivers.  If your card is in legacy mode you have to run the Add New 
  124. echo Hardware applet from the Windows Control Panel.  
  125. echo.
  126. echo We are confident you will be very satisfied with the new drivers.  Enjoy your 
  127. echo card and thanks for choosing Turtle Beach hardware.
  128. goto :end
  129. :helpout
  130. echo.
  131. echo Ok, no problem.  You can either have a friend help you through this procedure 
  132. echo or call Turtle Beach Tech Support at +1-914-966-2150.  Good luck...
  133. :end
  134. echo.
  135. pause